package com.blackitheima3.test5;

public interface Inter {
    //默认方法
    public default void start(){
        System.out.println("~~~~~~~~~~");
        log();
    }
    public default void end(){
        log();
        System.out.println("!!!!!!!!!!");
    }
    //私有方法
    private void log(){
        System.out.println("@@");
    }
    //静态方法
    public static void open(){
        System.out.println("&&&&&&&&&&&");
        check();
    }
    public static void close(){
        check();
        System.out.println("^^^^^^^^^^");
    }
    //私有方法
    private static void check(){
        System.out.println("##");
    }
}
